#ifndef GAMMANODE_H
#define GAMMANODE_H

#include "Node.h"

class GammaNode : public Node
{
public:
    GammaNode(Node* alpha, Node* beta, bool useInverseScale = false,
              double sampleValue = 0.0, bool isObserved = false, QString label = QString());

    GammaNode(const GammaNode& other);

    ~GammaNode();

    double randomSample();

    double logLikelihood(double x);

private:
    Node* alpha;
    Node* beta;
    bool shouldUseInverseScale;
};

#endif // GAMMANODE_H
